package com.ponhu.ea2.goodsCenter.provider.service;

import com.ponhu.ea2.dto.PhInventoryAppraisalDto;
import com.ponhu.ea2.entity.PhInventoryAppraisal;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 货品中检结果表 服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-10-19
 */
public interface PhInventoryAppraisalService extends IService<PhInventoryAppraisal> {

    /**
     * 根据货品编码获取中检溯源码信息
     * @param inventoryCode
     * @return
     */
    PhInventoryAppraisal getSourceCodeByCode(String inventoryCode);

    /**
     * 保存货品中检结果
     * @param phInventoryAppraisalDto
     * @return
     */
    void saveInventoryAppraisalByDto(PhInventoryAppraisalDto phInventoryAppraisalDto);

}
